package com.woniu.springboot.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zhaolei
 * @date 2021/5/12 - 1:14
 */
@FeignClient(value = "order")
@Component
public interface OrderFeign {
    @GetMapping(value = "/orders/getOrders")
    public String getOrders();
}
